/**
 * Created by Administrator on 2017/1/20.
 */
$(function(){
    var height=$(window).height();
    height=height-50-20;
    $("#mainMenu").height(height);
    var btns=$("#mainMenu a");
    btns.click(function(){
        var tarDom=$(this);
        btns.removeClass("btn-primary").addClass("btn-default");
        tarDom.removeClass("btn-default").addClass("btn-primary");
    });
    var frm=$("#mainFrm");
    frm.width("100%").height($(window).height()-50);
    $(document.body).css("overflow","hidden");
})